package com.lt.bcra.service;

import com.lt.bcra.entity.BcraFamilyHistory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lt.bcra.result.ResultData;

import java.util.List;

/**
 * <p>
 * 个人及家族病史表 服务类
 * </p>
 *
 * @author LuoTian
 * @since 2022-05-25
 */
public interface BcraFamilyHistoryService extends IService<BcraFamilyHistory> {

    /**
     * 填写家族病史表
     * @param bcraFamilyHistoryList
     * @return
     */
    ResultData saveModule(List<BcraFamilyHistory> bcraFamilyHistoryList);

    /**
     * 修改家族病史表
     * @param bcraFamilyHistoryList
     * @return
     */
    ResultData updateModule(List<BcraFamilyHistory> bcraFamilyHistoryList);

    /**
     * 删除家族病史表
     * @param questionnaireCode
     * @return
     */
    ResultData removeByQuesCode(String questionnaireCode);

    ResultData selectByQuesCode(String questionnaireCode);
}
